/*
Abstract:
  Error codes

Last changed:
  $Id: error_codes.h 88 2010-01-15 01:06:37Z vitamin.caig $

Author:
  (C) Vitamin/CAIG/2001

  This file is the part of Textator project
*/

#ifndef __ERROR_CODES_H_DEFINED__
#define __ERROR_CODES_H_DEFINED__

enum ErrorCodes
{
  ERROR_OK = 0,
  //io layer
  ERROR_OPEN_FILE,
  ERROR_CREATE_FILE,
  //stream layer
  ERROR_CYCLED_SOURCES,
  //parsing
  ERROR_DUPLICATE_SECTION,
  ERROR_INVALID_SECTION_NAME,
  ERROR_SYNTAX_ERROR,
  ERROR_KEY_NOT_FOUND,
  //analyze
  //output
  //synthesize
  ERR_TOKEN_NOT_FOUND,
  ERR_CYCLIC_DEPENDENCY
};

#endif //__ERROR_CODES_H_DEFINED__
